994d0c60540cb5e20f18df21b4c3fb26b55efd92,plugins/mpsjava/platform/source_gen/jetbrains/mps/ide/java/actions/IntroduceConstant_Action.java,IntroduceConstant_Action,isApplicable,#AnActionEvent#Map#,44

Before Change


  }

  public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) {
    if (!(EditorActionUtils.isWriteActionEnabled(((EditorComponent) MapSequence.fromMap(_params).get("component")), Sequence.<EditorCell>singleton(((EditorComponent) MapSequence.fromMap(_params).get("component")).findNodeCell(((SNode) MapSequence.fromMap(_params).get("node"))))))) {
      return false;
    }
    return IntroduceConstantRefactoring.isApplicable(((SNode) MapSequence.fromMap(_params).get("node")));

After Change


  }

  public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) {
    if (ReadOnlyUtil.isCellsReadOnlyInEditor(((EditorComponent) MapSequence.fromMap(_params).get("component")), Sequence.<EditorCell>singleton(((EditorComponent) MapSequence.fromMap(_params).get("component")).findNodeCell(((SNode) MapSequence.fromMap(_params).get("node")))))) {
      return false;
    }
    return IntroduceConstantRefactoring.isApplicable(((SNode) MapSequence.fromMap(_params).get("node")));